package com.luo.chengrui.module.sa.controller.admin.datapermission.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 数据权限配置 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class DataPermissionConfigBaseVO {

    @Schema(description = "机构FULL_ID", example = "5822")
    private String orgFullId;

    @Schema(description = "机构FULL_NAME", example = "张三")
    private String orgFullName;

    @Schema(description = "权限项ID", example = "4766")
    private String permissionItemId;

    @Schema(description = "范围权限 取值sa_data_scope字典值")
    private Integer dataScope;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "likeOrIn,like:0,in:1", example = "1")
    private Integer likeOrIn;

    @Schema(description = "乐观锁")
    private Long version;

    @Schema(description = "权限取值")
    private String dataContent;

    @Schema(description = "权限排除关联表ID")
    private String excludeId;

    @Schema(description = "权限排除的机构")
    private String excludeOrgFullId;

}
